#ifndef OBBULLET_H
#define OBBULLET_H

#include "ObDynamic.h"
#include "d3dx9.h"

class ObBullet: public ObDynamic{
public:
	enum BULLET {BL1 = 1500};
	ObBullet(IDirect3DTexture9* mtex, float px, float py, bool left);
	~ObBullet();

	void collidedWith(ObObject* object, CollisionRS rs);
	void update(float dt);
	void render(ID3DXSprite* mSprite);
	void clear();

private:
	float	count;
	float	mTime;
	float	flyCount;
	int		mCurrentSprite;
	IDirect3DTexture9*	mTex;
	
};

#endif
